package com.turing.post.salesmanage.util;

import java.math.BigInteger;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 *  个人客户业务接口
 * 
 * @author zxp
 * @Dec 22, 2012
 */
@Remote
@Local
public interface PersonalCustomBusiness {

	/**
	 * 新增个人客户
	 * 
	 * @param webInput
	 *            日志记录对象
	 * @param personalCustom
	 *            个人客户
	 * @throws PCPSApplicationException
	 */
	public BigInteger insertPersonalCustomInfo(PCPSWebInput webInput,
			PersonalCustom personalCustom) throws PCPSApplicationException;

	/**
	 * 修改个人客户
	 * 
	 * @param webInput
	 *            日志记录对象
	 * @param personalCustom
	 *             个人客户
	 * @throws PCPSApplicationException
	 */
	public void updatePersonalCustomInfo(PCPSWebInput webInput,
			PersonalCustom personalCustom) throws PCPSApplicationException;
}
